<div class="back_header">
    <i class="back_icon feather icon-chevron-left">
    </i>
    <div class="title">
        用户1
    </div>
</div>
<div class="chat_content">
    @foreach($array as $key => $value)
        <div class="chat_content_item {{$value->sender === 1 ?  'my_chat_content' : 'other_chat_content'}}">
            <div class="header">
                <div class="user_avatar"></div>
                <div class="user_info">
                    <div class="name">{{$value->name}}</div>
                    <div class="time">{{$value->time}}</div>
                </div>
            </div>
            @php
                echo "<div class='content'>{$value->content}</div>"
            @endphp
        </div>
    @endforeach
</div>

<link rel="stylesheet" href="{{admin_asset('css/components/chat-content.css')}}">
